expect ( service in module ngMock )

Description

Creates a new request expectation.

Parameters

Returns

{requestHandler}

Returns an object with respond method that control how a matched request is handled.